package com.java.service.Impl;

import com.java.Exception.MyException;
import com.java.dao.Impl.queryAirLineImpl;
import com.java.dao.queryAirLine;
import com.java.entity.AirLine;
import com.java.service.queryAirLineService;

import java.sql.SQLException;

public class queryAirLineServiceImpl implements queryAirLineService {
    queryAirLine queryAirLine=new queryAirLineImpl();
    @Override
    public AirLine queryAirLineByNo(String airlineNo) throws SQLException , MyException {
        AirLine airLine = queryAirLine.queryAirLineByNo(airlineNo);
        return airLine;
    }
}
